package id.co.rho.scoring.cid.client.security.impl;

import java.util.ArrayList;
import java.util.List;

import id.co.rho.scoring.cid.client.security.Credential;
import id.co.rho.scoring.cid.client.security.CredentialConfigurer;
import id.co.rho.scoring.cid.shared.model.FunctionGroupModel;

/**
 * Credential palsu, cuma untuk dipake selama development.
 * User: bungrudi
 * Date: 8/9/11
 * Time: 1:15 PM
 */
public class DummyCredential implements Credential, CredentialConfigurer{
    @Override
    public String getUsername() {
        return "Rudi Adianto";
    }

    @Override
    public String getUserId() {
        return "1";
    }
    
	@Override
	public List getListRole() {
		return new ArrayList();
	}

	@Override
	public void setUserId(String id) {
		
	}

	@Override
	public void setUsername(String username) {
		
	}

	@Override
	public void setListRole(List<FunctionGroupModel> listRole) {
		
	}

	@Override
	public Long getId() {
		return 1l;
	}

	@Override
	public void setId(Long id) {
		
	}

	@Override
	public String getPassword() {
		return null;
	}

    @Override
    public boolean isHaveFunction(String functionToken) {
        return true;
    }


	@Override
	public String getUserStatus() {
		// TODO Auto-generated method stub
		return null;
	}
}
